package com.common.bus.task;

/**
 * Created by chenxunlin01 on 2017/10/12.
 */

public class HttpException extends Exception {

    private final int code;
    private final Exception exception;

    public HttpException(int code, Exception exception) {
        this.code = code;
        this.exception = exception;

    }

    public int getCode() {
        return code;
    }

    public Exception getException() {
        return exception;
    }
}
